﻿/*
	All code for Temporum online was written by Robert Crawford. Temporum is the property of Rio Grande Games, and was created by Donald X. Vaccarino.
*/

.zone {
	display: inline-block;
	width: 120px;
	border: solid 1px black;
	margin-right: 24px;
	height: 70px;
	position: relative;
	text-align: center;
}

	.zone.active {
		cursor: pointer;
		background-color: #d3d3d3;
		border-width:2px;
	}

	.zone.inactive {
		background-color: #5C5C5C;
	}

	.zone .zoneName {
		font-weight: bold;
		font-size: 14px;
		position: absolute;
		width: 100%;
	}

	.zone.blue .zoneName {
		background-color: #C2C2FF;
	}
	
	.zone.orange .zoneName {
		background-color: #FF9933;
	}
	
	.zone.green .zoneName {
		background-color: #5CD65C;
	}
	
	.zone.brown .zoneName {
		background-color: #B8944D;
	}

	.zone .initialMoney {
		position: absolute;
		top: 28px;
		width: 100%;
		padding-top: 5px;
		font-size: 16px;
	}

	.zone .players {
		width: 100%;
		position: absolute;
		top: 46px;
	}

		.zone .players .player {
			width: 17px;
			height: 17px;
			margin: 3px;
		}

	.zone .player1 {
		background-image: url('/temporum/Images/star_red.png');
	}

	.zone .player2 {
		background-image: url('/temporum/Images/star_green.png');
	}

	.zone .player3 {
		background-image: url('/temporum/Images/star_white.png');
	}

	.zone .player4 {
		background-image: url('/temporum/Images/star_purple.png');
	}

	.zone .player5 {
		background-image: url('/temporum/Images/star_yellow.png');
	}

.arrow {
	width: 120px;
	height: 107px;
	display: inline-block;
	background-repeat: no-repeat;
	position: relative;
}

	.arrow.left {
		background-image: url('/temporum/Images/arrow_left.png');
		background-position-x: left;
	}

		.arrow.left.active {
			background-image: url('/temporum/Images/arrow_left_active.png');
			cursor: pointer;
		}

	.arrow.right {
		background-image: url('/temporum/Images/arrow_right.png');
		background-position-x: right;
	}

		.arrow.right.active {
			background-image: url('/temporum/Images/arrow_right_active.png');
			cursor: pointer;
		}


	.arrow.first {
		left: -12px;
	}

	.arrow.second {
		left: -24px;
	}

	.arrow.third {
		left: 0px;
	}

	.arrow.fourth {
		left: -36px;
	}

	.arrow.fifth {
		left: -12px;
	}

	.arrow.sixth {
		left: 12px;
	}

.time {
}

#board {
	text-align: center;
	width: 605px;
	background-color: lightgray;
	padding: 10px;
	float: left;
	height: 687px;
	border: solid 1px black;
}

#scoreBoard {
	margin-left: 10px;
	float: left;
}

	#scoreBoard table {
		border-collapse: collapse;
	}

		#scoreBoard table tr {
			height: 177px;
		}

		#scoreBoard table td {
			width: 18px;
			border: solid 1px black;
			vertical-align: top;
		}

		#scoreBoard table td {
			background-color: lightgray;
		}

.player {
	float: left;
	width: 100%;
}

.card {
	float: left;
	width: 100px;
	height: 100px;
	border: solid black 1px;
	margin-right: 10px;
	margin-bottom: 10px;
	position: relative;
	text-align: center;
	background-color: lightgoldenrodyellow;
}

	.card.permanent {
		background-color: lightblue;
	}

	.card.play {
		border: green solid 3px;
		cursor: pointer;
	}

	.card.score {
		border: purple solid 3px;
		cursor: pointer;
	}

	.card.discard {
		border: red solid 3px;
		cursor: pointer;
	}

		.card.discard.selected {
			top: -20px;
			cursor: pointer;
		}

	.card .name {
		font-size: 18px;
		font-weight: bold;
		text-align: center;
	}


	.card .value {
		width: 100%;
		font-weight: bold;
		font-size: 22px;
		position: absolute;
		top: 40px;
		text-align: center;
	}

	.card .scoreData {
		position: absolute;
		top: 84px;
		padding-top: 2px;
		height: 20px;
		border-top: solid 1px black;
		font-size: 12px;
		text-align: center;
		width: 100%;
	}
		.card .scoreData.altered {
			color: #ff0000;
			font-weight:bold;
		}

.score.red {
	background-image: url('/temporum/Images/star_red.png');
}

.score.green {
	background-image: url('/temporum/Images/star_green.png');
}

.score.white {
	background-image: url('/temporum/Images/star_white.png');
}

.score.purple {
	background-image: url('/temporum/Images/star_purple.png');
}

.score.yellow {
	background-image: url('/temporum/Images/star_yellow.png');
}

.moneyContainer {
	font-weight:bold;
	font-size: 16px;
	margin-bottom:20px;
}

.score.active {
	cursor: pointer;
}

.gameDetails {
	margin-left: 10px;
	display: inline-block;
	width: 300px;
}

#OpponentInfo {
	height: 400px;
	border: solid 1px black;
	background-color: lightgray;
}

	#OpponentInfo .currentTurn {
		font-weight: bold;
		font-size: 24px;
		text-align: center;
	}

	#OpponentInfo .opponent {
		border: solid 1px black;
		padding: 5px;
		margin: 5px;
		height: 56px;
	}

		#OpponentInfo .opponent.player1 {
			background-color: #FF8080;
		}

		#OpponentInfo .opponent.player2 {
			background-color: #8DE28D;
		}

		#OpponentInfo .opponent.player3 {
			background-color: #FFFFFF;
		}

		#OpponentInfo .opponent.player4 {
			background-color: #D494E9;
		}

		#OpponentInfo .opponent.player5 {
			background-color: #FFFF99;
		}

		#OpponentInfo .opponent .name {
			font-weight: bold;
		}

#Log {
	overflow-y: scroll;
	height: 305px;
	border: solid 1px black;
}

	#Log p {
		margin: 0px;
		font-size: 14px;
	}

		#Log p.human {
			color: green;
			font-weight:bold;
		}

	#Log .turn {
		font-weight: bold;
		margin-top: 2px;
	}

	#Log hr {
		margin-top: 0px;
	}

#inPlay .inPlay {
	display: inline-block;
	margin-right: 10px;
	border: solid 1px black;
	margin-top: 2px;
}

	#inPlay .inPlay.choose {
		cursor: pointer;
		font-weight: bold;
	}

.clear {
	clear: both;
}

#info {
	min-height: 20px;
}

a.options {
	padding-left: 5px;
}

.inPlayTooltip {
	font-size: 9pt!important;
}

#info ul {
	padding:0px;
}

	#info ul li {
		display: inline-block;
		vertical-align:top;
		margin-right: 10px;
	}

#txtSpeed {
	width: 30px;
}

.card.big {
	width: 200px;
	height: 200px;
}

	.card.big .scoreData {
		top: 184px;
	}
	
	.card.big .description {
		position:absolute;
		top: 84px;
		text-align:center;
		width:100%;
	}